package org.code.mallspringboot.service.impl;

import org.code.mallspringboot.mapper.CmsSubjectMapper;
import org.code.mallspringboot.pojo.CmsSubject;
import org.code.mallspringboot.service.CmsSubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class CmsSubjectServiceImpl implements CmsSubjectService{

    @Autowired
    private CmsSubjectMapper cmsSubjectMapper;

    @Override
    public List<CmsSubject> listAll() {
        return cmsSubjectMapper.listAll();
    }
}




